<!DOCTYPE html>
<html lang="es-ES">
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->

    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?php if(!empty($title)): echo $title; endif;?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="keywords" content="" >
        <link rel="author" href="<?php echo base_url().'web/humans.txt'; ?>" />
        <link rel="shortcut icon" type="image/x-icon" href="<?php echo base_url().'web/favicon.ico'; ?>">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url().'web/css/bootstrap/bootstrap.css';?>">
        <link rel="stylesheet" type="text/css" href= "<?php echo base_url().'web/css/bootstrap/bootstrap-responsive.css';?>">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url().'web/css/style/admintheme.css';?>">
        
        <!--para cargas de los css extras para cada controller-->
        <?php if(!empty($css)):?>
        <?php foreach($css as $estilo): ?>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url().'web/css/'.$estilo; ?>.css"/>
        <?php endforeach;?>
        <?php endif;?>
        
        <style type="text/css">
            #line-chart {
                height:300px;
                width:800px;
                margin: 0px auto;
                margin-top: 1em;
            }
            .brand { font-family: georgia, serif; }
            .brand .first {
                color: #ccc;
                font-style: italic;
            }
            .brand .second {
                color: #fff;
                font-weight: bold;
            }
        </style>
    
        <!--Habilita o no el googlemaps-->
        <?php if(!empty($mapa)):?>
        <?php echo $map['js'];?>
        <?php endif;?>
        
        <script language="JavaScript" src="<?php echo base_url().'web/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js';?>" type="text/javascript"></script>
    </head>
    <body>
        <?php
        $this->load->view('template/admin/navbar');
        $this->load->view('template/admin/sidebar-nav');
        
        